<%--
  Created by IntelliJ IDEA.
  User: Lenovo1
  Date: 2021/7/20
  Time: 10:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.0.2/css/bootstrap-grid.css" rel="stylesheet">
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改书籍</small>
                </h1>
            </div>
        </div>
    </div>

    <form action="${pageContext.request.contextPath}/book/updateBook" method="post">
        <div class="form-group">
            <label>书籍名称：</label>
            <input type="text" name="name" class="form-control" value="${books.name}" required/>
        </div>
        <div class="form-group">
            <label>书籍数量：</label>
            <input type="text" name="count" class="form-control" value="${books.count}" required/>
        </div>
        <div class="form-group">
            <label>书籍描述：</label>
            <input type="text" name="detail" class="form-control" value="${books.detail}" required/>
        </div>
        <input type="hidden" name="id" value="${books.id}">
        <div class="form-group">
            <input type="submit" value="修改" class="form-control"/>
        </div>
    </form>
</div>
</body>
</html>


